-- sculptor
-- created by chendh
-- 遗迹建筑功能-雕刻家招募

return {
    canDevelop = function(id)
        local pet = PetM.getMyPet(125);
        if not pet then
            -- 玩家没有雕刻家冈布奥
            return false;
        end
        return true;
    end,

    -- 获取描述
    getDesc = function(desc)
        -- 计算雕像建造的消耗时间
        local protectTime = FormulaM.invoke("CALC_AWAKE_CARVING_COST_TIME");
        desc = string.gsub(desc, "{0}", tostring(math.floor(protectTime / 3600)));
        return desc;
    end,
};
